package com.epichust.bootumpp.service;


import com.epichust.bootumpp.model.entity.SerialCode;

import java.util.List;
import java.util.Map;

/**
 * create by: longyang
 * description: 序列码接口
 * create time: 2020/12/18 14:10
 */
public interface ISerialCodeService {

    /**
     * 生成序列码
     * @param map
     * @return
     */
    public String generateSerialCode(Map<String, String> map) throws Exception;

    /**
     * 分页查询序列码
     * @param map
     * @return
     * @throws Exception
     */
    public List<SerialCode> getAllSerialCode(Map<String, String> map) throws Exception;
}
